import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import {DeviceCategorysComponent} from "./device-categorys.component";
import {DeviceCategoryAddComponent} from "./device-category-add/device-category-add.component";
import {DeviceCategoryUpdateComponent} from "./device-category-update/device-category-update.component";

const routes: Routes = [
  {
  path: '',
  component: DeviceCategorysComponent
},
  {
    path: 'add',
    component: DeviceCategoryAddComponent
  },
  {
    path: 'update',
    component: DeviceCategoryUpdateComponent
  }];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class DeviceCategorysRoutingModule { }
